if ((Get-PSSnapin | where-object {$_.name -eq "vCenterLabManagerSnapIn"}) -eq $null) { Add-PSSnapin vCenterLabManagerSnapIn } 

$url = "https://vlab.ischool.syr.edu/LabManager/"
$usr = "labmanapiuser"
$pwd = "somepassword"

$lmi = Get-LabManagerInternal -Username $usr -Password $pwd -ApiUrl $url

$lmi.SoapClient.GetOrganizations($lmi.AuthHeader)

$lme = Get-LabManager -Username $usr -Password $pwd -ApiUrl $url


